<?php

namespace IDock\Insurance\JTIC\Request;

use IDock\Insurance\JTIC\Response\ProposalRecallResponse;
use IDock\Visitor\ProposalRecallVisitor;

class ProposalRecallRequest extends AllJTICRequest
{
    protected $code = 'V105';

    protected $response = ProposalRecallResponse::class;

    protected $urlTip = '询价单撤回接口';

    /**
     * @var  ProposalRecallVisitor $visitor
     */
    protected $visitor;

    public function generate(): array
    {
        return [
            'BasePart'=> [
                'QtnId' => $this->visitor->argc['QtnId'] ?? '',
            ],
        ];
    }
}
